Skip to main content

Variables Constructors

An object defining constructors for the Variables class.

Variables(dictionary)

Initializes a new instance of the Variables class with a specified dictionary of variables.

Parameters:

dictionary (required): Dictionary<string, object>
The dictionary containing variables indexed by string keys.


BaseIndexer(dictionaryName, dictionary)

Initializes a new instance of the BaseIndexer<TKey, TValue> class with a specified dictionary name and dictionary.

Parameters:

dictionaryName (required): string
The name of the dictionary.

dictionary (required): Dictionary<TKey, TValue>
The dictionary to be wrapped by the indexer.